<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>


	<!-- 1.表单的默认编码格式url编码，application/x-www-form-urlencoded
                            在进行文件上传时，需要修改为multipart/form-data          
         2.表单默认的提交方法是get方法，需要把提交方法修改为post
     -->
	<form name="fileForm" enctype="multipart/form-data" method="post"
		action="upload.do">

		<table>
			<tr>
				<td>帐号：</td>
				<td><input name="userName" type="text"></td>
			</tr>

			<tr>
				<td>密码：</td>
				<td><input name="password" type="text"></td>
			</tr>

			<tr>
				<td>生日：</td>
				<td><input name="birthday" type="text"></td>
			</tr>
			

			<tr>
				<td>头像：</td>
				<td><input name="file1" type="file"></td>
			</tr>


			<tr>
				<td><input type="submit" value="注册"></td>
				<td><input type="reset" value="重填"></td>
			</tr>
		</table>
	</form>


</body>
</html>